package com.zzyl.nursing.member.service;

import com.zzyl.nursing.member.domain.Reservation;
import com.zzyl.nursing.member.dto.ReservationPageDto;
import com.zzyl.nursing.member.vo.AppointmentVo;
import com.zzyl.nursing.member.vo.ReservationVo;

import java.util.List;

public interface MemberReservationService {
    long cancelledCount();

    List<AppointmentVo> countByTime(long time);

    void reservation(Reservation reservation);

    ReservationVo page(ReservationPageDto reservation);

    void cancel(Integer id);
}
